const Koa = require("koa");
const bodyParser = require("koa-bodyparser");
const router = require("./routes");
const connect = require("./connect");

const app = new Koa();
app.use(bodyParser());
app.use(router.routes(), router.allowedMethods());

app.listen(3000);
